controllers.controller('homeController', [ '$scope' , '$http' ,function($scope,$http){

    //首页查询公告列表
    function  getAnnounceList(){
    	$http({
            url:"/get",
            method: 'GET'
        }).success(function (response) {
            alert("-----------------------------");
        });
    }
    //初始化查询
    getAnnounceList();
}]);